home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / New System Software Extensions / PlainTalk™ Speech Technologies / Text To Speech / Programming Stuff / Examples / WannaSpeech / WannaSpeech.readme < prev    next >
Encoding:
Text File  |  1993-09-15  |  2.0 KB  |  51 lines  |  [TEXT/KAHL]

  1.  
  2. WannaSpeech
  3.    Written by:    Guillermo A. Ortiz        AppleSoft Developer Technical Support
  4.    Date:        08/04/93
  5.  
  6. Sample code that shows how to use the Macintosh Speech Manager to produce speech
  7. from text input, it allows the user to speak the text, to convert the text to phonemes]
  8. and to voice the phonemes.
  9.  
  10. A phonemes keyboard is available to do phoneme input.
  11.  
  12. This sample app is based on the DTS sample frame work aka AppsToGo, the base of this sample
  13. is the sample app AppWannaBe. I have tried to maintain the speech related code separated from
  14. the default AppWannaBe code in order to make it easier to look for the new stuff.
  15.  
  16. The new files added to the AppWannaBe suite in order to support speech are:
  17. - WannaSpeech.c
  18.     All the code that adds anything related to the speaking parts of WannaSpeech.
  19.  
  20. - WannaSpeech.h
  21.     Defines and prototypes related to WannaSpeech.c
  22.  
  23. The following is a list of the original AppWannaBe files where I have made changes
  24. in order to support the speech capabilities of WannaSpeech.
  25.  
  26. - App.h:     Modified the struct TheDoc to include the docSpeech field which
  27.             keeps the voice info for the document.
  28.  
  29. - Start.c:
  30.     main:     Added a call to set up a global boolean that tells of the availability
  31.             of speech.
  32.     
  33. - Menu.c
  34.     DoMenuCommand: Added switch case to dispatch the speech menu selections.
  35.     
  36.     DoAdjustSpeechMenu: Added to do the hiliting of speech menu items according to
  37.             speech availability and the presence of speakeable text.
  38. - File.c
  39.     InitDocument: Added call to InitDocSpeech to set up the voice info for
  40.             document.
  41.             
  42. - Window.c
  43.     AdjustMenuItems: Added call to DoAdjustSpeechMenu in order to set the
  44.             hiliting according to circumstances.
  45.     InitContent: Added a line of code to call the routine that sets the
  46.             name of the current voice associated with the document.
  47.             
  48. AppsToGo application development framework is available in the Developers CD as well as
  49. in the developer support folder in AppleLink, please refer to its documentation for
  50. questions you may have in the overall programming and design of AppsToGo and AppWannaBe.
  51.